package com.bt.service.Impl;

import com.bt.entity.YddAdvpos;
import com.bt.mapper.YddAdvposMapper;
import com.bt.service.YddAdvposService;
import com.bt.vo.YddAdvposVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description TODO
 * @Author itheima
 * @Date 2023-05-02 18:28
 */
@Service
@Slf4j
public class YddAdvposServiceImpl implements YddAdvposService {
    @Autowired
    private YddAdvposMapper yddAdvposMapper;

    /**
     * 查询广告位列表全部
     * @return
     */
    @Override
    public  List<YddAdvposVO> all() {
        List<YddAdvposVO>  yddAdvposVOList =  yddAdvposMapper.all();
        return yddAdvposVOList;
    }
}
